package cn.openea.perpartner.mpwx.mapper;

import cn.openea.perpartner.mpwx.entity.MagmasConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * (MsgmamgConfig)表数据库访问层
 *
 * @author makejava
 * @since 2022-06-29 15:51:17
 */
@Repository
public interface MagmasConfigMapper extends BaseMapper<MagmasConfig> {

    @Select("select * from msgmamg_config where eventkey = #{eventkey}")
    MagmasConfig checkEventKeyUnique(String eventkey);
}

